package com.bcc.security.common.constant;

import lombok.*;

/**
 * @Description:请求响应编码
 * @Author:Kevin
 * @Date:2018/7/28 20:09
 */
@Getter
@AllArgsConstructor
public enum ReturnCode {

    // 业务相关错误码
    SUCCESS("10000", "success"),
    FAILURE("10001", "failure"),
    // 业务参数
    PARAM_ERROR("10002", "非法参数");

    private String code;
    private String message;

}
